import Layout from '@/layout'
export default {
  path: '/employees',
  // 代表/employees路由既有Layout组件的布局，还有其本身组件的布局
  component: Layout,
  name: 'employees', // 将来做路由权限相关的标识
  children: [{
    path: 'index',
    name: 'employees', // 将来做菜单栏的多语言管理时使用
    component: () => import('@/views/employees'),
    meta: {
      title: '员工',
      icon: 'people'
    }
  }, {
    path: 'detail/:id',
    name: 'detail',
    component: () => import('@/views/employees/components/employee-detail.vue'),
    hidden: true
  }, {
    path: 'print/:id',
    name: 'print',
    component: () => import('@/views/employees/print'),
    hidden: true
  }]
}
